<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 游戏结束</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #0f1923;
            color: #fff;
            font-family: 'Arial', sans-serif;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
        }
        .game-container {
            position: relative;
            width: 80%;
            max-width: 600px;
        }
        .game-screen {
            background-color: #1a2a3a;
            border: 5px solid #2c3e50;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 0 30px rgba(0,0,0,0.5);
        }
        h1 {
            color: #f1c40f;
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
        }
        .pixel-character {
            width: 100px;
            height: 100px;
            margin: 20px auto;
            background-color: #e74c3c;
            position: relative;
            animation: jump 2s infinite;
        }
        .pixel-character:before {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: #fff;
            top: 20px;
            left: 20px;
            box-shadow: 40px 0 0 #fff;
        }
        .pixel-character:after {
            content: "";
            position: absolute;
            width: 60px;
            height: 20px;
            background-color: #fff;
            bottom: 15px;
            left: 20px;
        }
        .game-message {
            background-color: #2c3e50;
            padding: 15px;
            border-radius: 5px;
            margin: 20px 0;
        }
        .btn {
            display: inline-block;
            padding: 12px 24px;
            background-color: #f1c40f;
            color: #000;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            margin: 10px;
            transition: all 0.3s;
        }
        .btn:hover {
            background-color: #f39c12;
            transform: translateY(-3px);
        }
        .health-bar {
            width: 100%;
            height: 20px;
            background-color: #2c3e50;
            border-radius: 10px;
            margin: 20px 0;
            overflow: hidden;
        }
        .health {
            width: 30%;
            height: 100%;
            background: linear-gradient(to right, #e74c3c, #f1c40f);
            border-radius: 10px;
            animation: pulse 1.5s infinite;
        }
        @keyframes jump {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }
    </style>
</head>
<body>
    <div class="game-container">
        <div class="game-screen">
            <h1>404 ERROR</h1>
            <div class="pixel-character"></div>
            
            <div class="health-bar">
                <div class="health"></div>
            </div>
            
            <div class="game-message">
                <p>哎呀！你掉进了404虚空！</p>
                <p>这个关卡不存在，但别担心 - 你还有生命值！</p>
            </div>
            
            <p>选择你的下一步行动：</p>
            <a href="/" class="btn">重新开始游戏</a>
            <a href="javascript:history.back()" class="btn">返回上一个检查点</a>
        </div>
    </div>
</body>
</html>